package com.example.springbootshiro.model;

public class Permission
{
    private Integer pId;

    private String name;

    private String url;

    public Permission()
    {
    }

    public Permission(String name, String url)
    {
        this.name=name;
        this.url=url;
    }

    public Permission(Integer pId, String name, String url)
    {
        this.pId=pId;
        this.name=name;
        this.url=url;
    }

    public Integer getpId()
    {
        return pId;
    }

    public void setpId(Integer pId)
    {
        this.pId=pId;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name=name;
    }

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url=url;
    }
}
